{{--表单组件--}}
<form class="{{$class??'layui-form layui-form-pane'}}" id="{{$form??'form'}}" style="margin-bottom: 70px" method="post" action="" lay-filter="component-form-element">
    <div class="layui-col-md12 ">
        <div class="layui-card">
            {{ csrf_field() }}
            <div class="layui-card-body layui-row layui-col-space10">
                {{ $slot }}
            </div>
        </div>
    </div>
    <div style="clear: both"></div>
</form>

@section('js')
    @parent
    <script>
        layui.use('form', function(){});
    </script>
@endsection